<% @page_title = ' :: Editing ' + @program.name %>

<% content_for :sidebar do %>
	<div class="little_infos">
		<div class="little_content"><%= awareness_message %></div>
	
		<div class="little_content">
			<span class="sidebar_title">You can</span>
			<%= link_to 'Back to Program<br />', :action => 'show', :id => @program %>
			<%= associate_broadcast_to_program(@program) %>
		</div>
	</div>
<% end %>

<h1>Editing &quot;<%= @program.name %>&quot; Program</h1>

<% form_for :program, :url => {:action => 'update', :id => @program}, :html => { :method => :put } do |f| -%>
<% field_set_tag do %>
	<p><label for="name">Name</label><br />
	<%= f.text_field :name, :class => 'text required_field' %></p>
	
	<p><label for="short_description">Short Desciption</label><br />
	<%= f.text_field :short_description, :class => 'text required_field' %></p>
	
	<p><label for="description">Desciption</label><br />
	<%= f.text_area :description, :cols => 15, :rows => 5 %></p>
<% end %>
	<div class="span-17 centered last">
		<%= submit_tag 'Save', :disable_with => 'Saving&hellip;', :class => 'buttons' %>
	</div>
<% end %>